import net.spreadshirt.shop.lib.ProducttypeColors;import net.spreadshirt.shop.lib.ProducttypeSizes;

/** * An product type item. This class stores the properties * of a single product type item. */
class net.spreadshirt.shop.lib.Producttype {

	public var producttype_id:Number;	public var producttype_category_id:Number;	public var producttype_brand_id:Number;	public var producttype_colors:ProducttypeColors;	public var producttype_sizes:ProducttypeSizes;
	public var delivery_period:String;
	public var name:String;	public var description_short:Number;
	public var description:Number;

	/**
	 * Producttype Constructor
	 */
	public function Producttype(item:Object) {		producttype_id = item.producttype_id;		producttype_category_id = item.producttype_category_id;		producttype_brand_id = item.producttype_brand_id;		producttype_colors = new ProducttypeColors(item.colors);		producttype_sizes = new ProducttypeSizes(item.sizes);
		delivery_period = item.delivery_period;
		name = item.name;
		description_short = item.description_short;		description = item.description;
	}

}
